home *** CD-ROM | disk | FTP | other *** search
- Path: d123.sp.interaccess.com!plague
- From: plague@winternet.com (Kent Squires)
- Newsgroups: comp.lang.c++
- Subject: I need a quick lesson in changing dos text attributes
- Date: Fri, 2 Feb 1996 19:09:51 -0600
- Organization: InterAccess,Chicagoland's Full Service Internet Provider
- Message-ID: <plague.12.0006799E@winternet.com>
- NNTP-Posting-Host: d123.sp.interaccess.com
- X-Newsreader: Trumpet for Windows [Version 1.0 Rev B final beta #4]
-
- OK, I need a quick lesson on how to change DOS text attributes, such as
- text/background color.
-
- We were given a line of code:
-
- mypage.SetAttribute(VideoText::fgBlue);
-
- we are suppose to write SetAttribute
-
- All they give us is:
-
- void VideoText::SetAttribute( unsigned char attribute)
- {
- // Your code here
- }
-
- I've tried textcolor(attribute); and that didnt work. If anybody can help me
- out, I'd greatly appreciate it. This DOS attribute stuff is new to me...
-
- Respond via email: plague@winternet.com or
- ksquires@interaccess.com
-